//package com.example.novelstory.config;
//import lombok.Data;
//import lombok.Getter;
//import lombok.NoArgsConstructor;
//import lombok.Setter;
//import org.springframework.boot.context.properties.ConfigurationProperties;
//import org.springframework.context.annotation.Bean;
//import org.springframework.stereotype.Component;
//import java.util.HashMap;
//@Component
//@ConfigurationProperties(prefix = "spring.redis")
////@Getter
////@Setter
//@Data
//@NoArgsConstructor//无参构造
//public class RedisConfig {
//    private String host;
//    private int port;
//    //获取节点配置
//    private String nodes;
//    private int timeout;//秒
//    private int database;
//    //private String password;
//    private HashMap<String, String> pool = new HashMap<>();
//}
